import request from '@/utils/http'

/**
 * @description: 获取订单详情接口
 * @param {*}
 * @return {*}
 */
export const getCheckInfoAPI = () => {
  return request({
    url: '/member/order/pre'
  })
}

/**
 * @description: 创建订单接口
 * @param {*}
 * @return {*}
 */
export const createOrderAPI = (data) => {
    return request({
      url: '/member/order',
      method: 'POST',
      data
    })
  }